Skip to content

feat(muster): set tool approval on connectors and show every URL elicitation as one prompt - #3655

Merged
Rotfuks merged 73 commits into
mainfrom
tool-approval
Nov 30, 2026
Merged

Rotfuks merged 73 commits into
mainfrom
tool-approval

Conversation

@Rotfuks

@Rotfuks Rotfuks commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Milestones 1 to 3 are on this branch, and so are later additions: sign-in handoff, auto-continue, inline approval and the display name (marked "after milestone 3").

Part of giantswarm/giantswarm#38902. The review record is the first comment on this PR, with an update comment for the later work and a record of the review round of 2026-11-27 (Quentin).

Rationale

muster now decides Allow, Ask or Block for every tool call (giantswarm/muster, linked below). The portal is where a connector admin sets those settings, where a person sees them, and where a session shows the approval page an agent's call needs. A session also had a separate prompt for each kind of URL elicitation; muster's approval link needs the same prompt as its sign-in link.

Changes

Area What changes
Connector wizard The third step is Test & Tools: a connector admin picks a preset (Recommended, Allow all, Ask all), pre-selected by the governance mode, which fills Allow · Ask · Block pills per tool and the rule for new tools (Allow, Ask, Block). Done saves every tool's setting explicitly through core_mcpserver_set_approval. Everyone else sees the settings read-only.
Connector page, Tools tab Each tool's setting and where it comes from, New tools, blocked tools muster hides, an Approval filter, and Allow — not reviewed with a way to review a connector that has no settings.
Writes Create sends the mode's preset where muster's core_mcpserver_create takes one. Edits go through muster's split writes: connection fields through core_mcpserver_connect, the rest through core_mcpserver_update. A save re-reads the settings first, writes nothing over another admin's change and sends expectedGeneration where muster takes it.
Governance mode Read from core_mcpserver_list, then /server-info. An unknown or unreadable mode pre-selects Recommended and says so, never Allow all.
Session page UrlElicitationPanel replaces SignInRequestPanel: every URL elicitation of a session shows the server's message as heading, Open names the host, Done and Not now answer. A link on muster's approval page or sign-in start gets a return bound to the open this tab made (a random value, used once); the tab that opened it lets the agent continue.
muster-backend muster.installations[].publicUrl names where an installation's muster serves its pages when that is not on the host of url; /api/muster/installations reports it. New portal event Muster.toolApprovalSaved.
Agent tool settings (milestone 2) The agent wizard's tools step and the agent page show each tool's setting (Allow · Ask · Block) and a default, with who may skip an Ask (Allowed for). Create sends create_agent then set_agent_approval; edit goes through agent-manager's split writes (update_agent, update_agent_access, set_agent_approval), live and in commit mode. Saves are guarded against stale reads (generation) and against an agent-manager without the split tools; a save that clears exceptions says so. Charts without settings are explained, and a release not yet enforcing shows pending enforcement.
Connector tool settings (milestone 2) The Tools tab can be searched and filtered by approval setting (search and filters only narrow the rows shown; a save sends the whole draft, a changed row stays listed and marked, and a scoped preset fills the matching rows only); a tool's effect (Reads, Changes, the connector's own claim) is told apart from an unsaved change; connector edits are gated on the person's own rights; core_mcpserver_list/filter_tools reports for an agent's tool list are shown (who may skip an Ask, namespaces whose grants could not be read are counted, an unreadable grant is never read as none).
Starting a session A start agent-manager answered with a refusal drops the portal's idempotency key, so the next try starts a new Session; a failure without an answer (network, timeout, sign-in) keeps it.
Fixtures and docs Fixtures serve agent-manager's and muster's real shapes for the agent flows (docs/fixtures.md); docs/agent-platform.md describes an agent's tool approval in the portal. Four changesets.
Inline approval (after milestone 3) The InlineApproval card replaces the approval tab in the chat: Approve and Decline with every field muster's digest covers (a long value is collapsed, never cut; Approve is armed only after the card was in view for 1 s; long values stay collapsed behind Show all with the number of hidden characters, and the decision covers the whole request), the agent named by its display name with namespace/name beside it, a warning unless muster names the Session's own agent. muster-backend POST /api/muster/approvals/view and /approvals/decision forward the signed-in person's own token (refused with 403 when it is not theirs) and the portal's workload token (muster.workloadTokenFile, sent only to the home installation, muster.workloadInstallation). Open in muster stays.
Sign-in handoff and auto-continue (after milestone 3) muster-backend POST /api/muster/handoff gets a one-time ticket for the person's own connector sign-in; links on muster's own origin open after the chat's Open click without a second dialog, other origins keep the dialog, which now names the link's full host. After the return the tab tells the chat tab (BroadcastChannel, scoped to the return's nonce) and the chat submits Done itself; Done stays as fallback.
Connector sign-in scope (after milestone 3) The wizard writes grantScope: subject for a discovered authorization server on new connectors, so one sign-in serves every conversation of the person; existing connectors are not widened.
Icons, sign-in mapping (after milestone 3) Lucide icons in the approval prompt and the effect badges (new dependency lucide-react 1.72.0 in the muster and agent-platform plugins); the sign-in resolver's identity mapping moved to gs-node (oidcIdentity) so the own-token check shares it.
Docs Connector tool approval, the generic URL elicitation prompt and its return.

Effect on end users

Connector admins set whether each tool of a connector runs, asks first or is blocked, and a session shows the approval step an agent's call needs as one clear prompt.

UI impact

Draft footprint for the ui-impact skill (run it at the final head; this is not the block it writes):

Field Value
Pages the connector wizard (step 3 and the review page), the connector page's Tools tab, the JSON and GitOps edit dialogs, the session page (elicitation prompt). Take the route templates from the ui-sitemap skill.
Shared, shell-wide no, no
Conditional yes: the wizard and Tools tab with muster tool approval; the prompt when an agent waits on a URL elicitation
Kind new-flow
Check Add a connector and reach step 3: pick each preset and check the pills and the rule for new tools. Open a connector's Tools tab: filter by Approval, check New and blocked rows. In a session whose agent calls a tool that asks: check the inline card (Approve stays disabled until the card was in view for a second), approve, check the chat continues; for a connector sign-in: Open, check the tab continues.

Preview

Screenshots of the wizard step, the Tools tab and the session prompt follow with the visual check, still to be done by hand.

Changes from the plan

Where this PR differs from the design in the epic (giantswarm/giantswarm#38902):

  • rule: Block is offered in the wizard and on the Tools tab where muster's schema allows it, and a stored Block rule is always shown.
  • Presets are expanded in the portal: picking one fills the pills and the person saves explicit settings through core_mcpserver_set_approval, which never gets a preset. Create sends the mode's preset only where muster's schema declares it.
  • Writes go through muster's split tools (connect first, then update) and send expectedGeneration, so a save can't overwrite a concurrent admin's change.
  • Reads. connectorAdmin is read per tool; the governance mode comes from core_mcpserver_list, then /server-info; Allowed for comes from agent-manager's list_approval_grants, not list_agents; an agent's list is read as toolSettings and defaultApproval (tools keeps its old meaning).
  • New-agent Tools step. The pills sit in one section, How it asks, under Which connectors?, not in each connector card. Tool rows show the draft's own entry, else muster's effective setting; connector rows and the default show their own setting only.
  • Agent page. The approval summary is added next to the existing "asks you before every call" lines, which stay until the agent chart removes requireApproval.
  • Labels. A legend line and aria-describedby per pill replace hover tooltips.
  • Return from the approval page. The return carries a random value per Open that the tab that opened the link uses once (both parameters are required), only /approvals/<id> and the sign-in start under the trusted public URL return, and that URL can be set per installation with muster.installations[].publicUrl. An id alone could resume any waiting prompt.
  • Starting a session. The idempotency key of a session start is dropped after an answered refusal and kept only after a failure without an answer: agent-manager answers a start whose id belongs to a Session that no longer exists with a conflict naming a new one, and a retry under the same key never succeeded.
  • Approvals in the chat. The design opened muster's page in a new tab and returned to the chat; inline approval was a follow-up. The inline card now replaces the tab and the return for approvals; other clients keep muster's page, connector sign-in keeps tab, handoff and return. The card shows what the page shows; long values are collapsed, never cut, and Approve waits for the card to be in view.
  • Sign-in handoff. The portal backend opens muster's links signed in with a one-time ticket instead of a second sign-in, on the person's own token plus the portal's workload token.
  • Auto-continue. The chat continues after the return without a Done click; Done stays.
  • Own token only. The backend forwards a token to muster only when it belongs to the signed-in person, and the workload token only to the home installation.
  • Display name. The prompt names the agent by display name, with namespace/name beside it.
  • Connector sign-in scope. New connectors with a discovered authorization server get grantScope: subject.
  • Edit page without tools. The tool settings editor shows once the tools are read and the connector lists tools or has stored settings, so a connector with every tool Blocked, or a rule-only Block, can be changed back.
  • Approval card layout. Agent, caller kind, acts for (the person's name, subject as tooltip), session and client sit behind Show details; the card keeps the connector, tool, the agent's reason, why it asks and expiry. The details hold one labelled Input block (muster's canonical arguments, pretty-printed, marks kept) and the labelled fingerprint. Every key stays visible; each long string value, or very large nested array or object, collapses on its own with Show all N characters; Approve works without expanding. One text style, no code font.
  • Inline decision is a first-party extension, not MCP URL elicitation: generic MCP URLs keep the external-consent flow.
  • Delivery. One pull request per repository carries all three milestones and the later additions, instead of one pull request per slice.

Background and context

  • Epic giantswarm/giantswarm#38902; PRD slices 4, 5 and 6 (portal).
  • Works with muster's tool approval. Against a muster without it, a connector edit still sends one core_mcpserver_update, the settings read as unavailable, and the governance mode falls back to Recommended.
  • Agent tool settings and Allowed for need agent-manager's split tools and a muster that reports an agent's approvals (linked below); against older ones the portal hides them and says why.

Upgrade notes

  • Optional config: muster.installations[].publicUrl, set it when an installation's muster serves its pages (oauth.mcpClient.publicUrl) on another host than its url; else the session page returns by the endpoint's origin as before.
  • Inline approval needs, on the portal's own installation: muster.workloadTokenFile (the projected ServiceAccount token with audience muster) and, when the installation cannot be derived, muster.workloadInstallation; and a muster that trusts the portal's client. Without them the card offers muster's page.
  • Roll out with or after the muster release that carries tool approval.

Related pull requests (milestones 1 to 3)

Repository PR Role
muster giantswarm/muster#1912 enforcement, approval page, governance, agent settings and grants
klaus-gateway giantswarm/klaus-gateway#618 Slack prompt and return
agent-platform giantswarm/agent-platform#1495 governance value, safe lists, wiring, agent chart 3.x guard and migrate preflight, the portal's own client and trusted-client wiring
agent-manager giantswarm/agent-manager#483 chart default, per-agent approval settings and grants, migrate 2.x to 3.x
model-manager giantswarm/model-manager#462 chart default
vm-manager giantswarm/vm-manager#264 chart default
cluster-manager giantswarm/cluster-manager#359 chart default
workspace-manager giantswarm/workspace-manager#229 chart default
toolchain-manager giantswarm/toolchain-manager#100 chart default
skill-manager giantswarm/skill-manager#48 chart default
agent-platform-mcps giantswarm/agent-platform-mcps#108 chart defaults for the families
agent giantswarm/agent#143 agent chart 3.0: tools and default, requireApproval removed
agent-skills giantswarm/agent-skills#90 agent management skill
agent-platform-operator giantswarm/agent-platform-operator#74 organization chart source follows the configuration
giantswarm-platform-manager giantswarm/giantswarm-platform-manager#1053 governance as a typed input, second-person review
agentlab giantswarm/agentlab#1355 lab: governed mode docs, the portal's Dex client, the portal's workload token

Ask to reviewers

  • Read the review record first; it lists what the independent reviews found and how each was closed.
  • Milestone 2 (9d62912f..3800faa4) was reviewed independently (slice 5 review); its fixes and the commits up to 6e5760c7 were read in a delta review, the follow-ups up to 8924f5cf in a last review (no blocker, major or medium). Not independently re-checked: ca986802 (the fix after the second re-check) and 33dda99f (the fixes of the delta review). The last review's findings (L-04, L-06, L-07, L-09, L-12) are open and listed in the record. After that, a security review of the inline path and a last check (second model; update comment in the review record) covered dd0dfa53, 121a1f57, f0d55590, 14680a98, the display name and the icons; not independently re-checked: 886f8b6b (own-token check, workload token to the home installation), b3785d0d (docs) and 5ffe495c (made after the last check: Approve no longer waits until every collapsed value was opened). Open from that check: LC-06, LC-09, LC-11, LC-15, LC-16 (LC-10 is moot).
  • No browser run yet: layout, focus order, the consent dialog, tab closing and the inline card (arming, collapsed values, find-in-page) were judged from code and tests. A manual UI test (connector wizard, Tools tab, the agent wizard's tools step, the agent page) is needed before merge.
  • Residual accepted in the record: a hostile sign-in-start link on muster's origin can still bounce back and trigger an automatic Done.
  • Review round of 2026-11-27 (Quentin): QB-04 fixed in e3eee50e; the card layout (8acfc2de, 9a5ef4eb) was re-checked and its finding N-1 fixed in 790af584, with the later d33145f6 and 790af584 not independently re-checked; see "Review record — Quentin's review". Tip 834570ca (834570ca only moves two panel tests to the details).

Testing

Check Result
yarn tsc exit 0
yarn test plugins/muster/ plugins/muster-backend plugins/gs-node/src/muster plugins/agent-platform/src/{lib,hooks,components/UrlElicitationPanel} (Node 24.22.3) 312 suites, 4811 tests, all passed at 79d3c8f3
Lint, prettier on changed files 0 errors; warnings are pre-existing (one new no-mixed-plugin-import in useMusterOrigin.ts, by design)
The three commits after that run (23a5bb77, d25fc808, ca986802; the tip then was ca986802) keep a stored Block rule and the listed tools Block, read the governance mode from core_mcpserver_list, with tests and a fixture that reports governance; not part of the 4811 above
Agentlab, 2026-11-25 check J, HTTP level only: served bundle contained the branch code, core_mcpserver_set_approval as admin 200 and as viewer 422, an Ask tool answered with the elicitation
Milestone 2 and 3 commits tests run with each commit (the slice 5 review ran the muster and agent-platform suites and read the tests against the code); CI is the reference for the tip 5ffe495c
Delta review (a second model, 6e5760c7) jest --maxWorkers=4 on a Node 24 shim: muster plugin 19 suites, 439 tests; agent-platform plugin 15 suites, 285 tests; ui-react MoreActionsMenu 1 suite, 3 tests; all pass
Last review (8924f5cf) muster plugin 3 suites, 108 tests; useCreateSession 34 tests; pass. tsc and lint not re-run by the reviewers
Fixtures serve muster's real response shapes (split writes, governance, refusal reasons, expectedGeneration)

Agentlab re-test, 2026-11-25 (lab-tests/m1-retest.md): passed, no blocking defects. Check J (HTTP level): core_mcpserver_set_approval as admin 200 and as viewer 422, an Ask answered with the elicitation, core_mcpserver_list passes governance; the portal ran d25fc808, one commit before the tip. The visual check in a real browser (wizard step, Tools tab, session prompt after the return, the agent tool settings) is still pending.

Milestone 2 lab (2026-11-26, lab-tests/m2-integration.md, portal backend at HTTP level on cc66a6f4): /api/muster/call get_agent returns toolSettings, defaultApproval, grants, approvalSettings, approvalEnforced and generation; list_agents carries them; create_agent with Ask and Block entries and default: Block 200; set_agent_approval as admin 200 with the grant; a stale write 409 with the conflict text; passed. Not tested in a browser. The milestone 3 lab ran no portal cases.

Later work (2026-11-26): the portal backend ran in lab at dd0dfa53 (ticket for the person's own approval, none for another person's), f0d55590 (view, decision, foreign person, changed digest, one agent turn continued) and 14680a98 (decision with its workload token); no browser click. Last check (second model, 14680a98, jest on a Node 24 shim): muster-backend 4 suites, 217 tests; agent-platform inline approval and elicitation 4 suites, 84 tests; muster 5 suites, 370 tests; ui-react consent 3 suites, 27 tests; all pass; 21 mutants, 15 killed. 886f8b6b has tests per route (another person's token refused before muster is called); a mutant that skips the check fails 8. Not run by anyone: tsc, lint and the full jest run on the tip, a browser.

Default agent session start (2026-11-26, found by a manual test): the key rotation after an answered refusal is covered by unit tests (useCreateSession); the dev portal picks up the change on a reload, while the lab's in-cluster portal still ran an older image and reuses the key. Not seen in a browser.

Review round 2026-11-28 (e3eee50e..790af584): RTL tests for all-Blocked entries and rule-only Block, later keys visible, per-value collapse and nested structure; at 9a5ef4eb the independent re-check ran NewConnectorTestPage (44) and InlineApproval plus UrlElicitationPanel (64), all green; 200k random inputs reconstruct to muster's canonical text. No browser check of the new layout.

…elicitation

kagent relays an MCP URL elicitation's elicitationId as elicitation_id. muster returns the browser from its pages with it, so the session page needs it to know which request the person finished.
…prompt

Sign-in, muster's approval page and any later page look the same: the server's message as the heading, Open with the link's host, Done and Not now. A link on the origin of the session's muster opens with a redirect back to the session carrying the elicitationId, and the tab that opened it lets the agent continue on muster's return. The return says nothing of the decision: the outcome is muster's answer to the retried call.

Replaces SignInRequestPanel and the sign-in-path keyed return of elicited links in ConnectorSignInLinks (giantswarm/giantswarm#38902, slice 6).
muster with tool approval takes the connection (type, URL, sign-in,
client, headers, request metadata) only through core_mcpserver_connect
and refuses it on core_mcpserver_update. The wizard's edit and the JSON
edit now split by connect's input schema, connect first; a muster
without connect still gets one update. The fixture declares and refuses
the split arguments as muster does, and muster-backend answers those
refusals 422.
…nce mode

Nothing reports the governance mode to the portal yet, and the portal
read its absence as trusted: a create sent the allow-all preset, also on
a governed installation. An unknown or unreadable mode now picks
Recommended and the Test & Tools step says the mode could not be read.
governanceModeOf is the one place the mode's source plugs in, and the
server-info query key is shared.
…its preset

muster stores a create's preset as its rule alone, since no tools are
listed yet, and reports every tool New. The wizard took that for
reviewed: every tool New, the draft the bare rule, and Done saved
nothing. Settings without a tool's own entry now open on the preset
expanded against the listed tools, without New markers, and Done writes
each tool. The Tools tab says the connector is not reviewed and what its
tools do until then. The fixture stores a create's preset as muster does
and refuses a create without approval settings.
…nwhile

core_mcpserver_set_approval replaces spec.approval whole and takes no
precondition, so a save from a step opened before another admin's
change reverted it silently. The save now re-reads the settings right
before writing and, when they changed since the draft was built, writes
nothing and shows the current settings with the person's changes on top.
Where the portal cannot save, the step says Done saves nothing.
… tab made

The session page answered Done for any visit that named a pending
elicitationId, which travels in the session's messages, and added a
return to every link on muster's origin. Each Open now carries a new
random value in the redirect, kept per tab with the elicitation, task,
session page and person, and used up by the one return that brings it
back. Only muster's approval page and sign-in start get a return; the
approval page's return names the elicitation muster recorded.
…pages

muster serves its approval page and sign-in start on its publicUrl,
which the chart sets apart from the endpoint muster-backend reaches it
by. muster.installations[].publicUrl names it, /installations reports
it, and the session page trusts URL elicitation links by it, else by
the endpoint's origin as before.
A connector's rule for tools without their own entry takes Block beside
Allow and Ask: tools added later are hidden and refused until someone
sets them. The Test & Tools step offers it where muster's set_approval
declares it, keeps Ask pre-selected on a governed platform, and the
Tools tab says when the rule hides tools added later. The fixture takes
and enforces it as muster will.
…ansient failure

Every create now reads the create tool's schema for the preset, where
one without a display name or tags read none before, so a transient
describe failure stopped adding a connector. That read is retried once.
…pills properly

The unreadable-settings note says muster reports every tool as Ask and
does not run them, and that Done saves nothing there. Pills are
described by their legend line through aria-describedby instead of
aria-description. A blocked row counts under no effect in the Tools
tab's facet. The unwired Allowed for prop is removed until
agent-manager's grants exist (slices 3 and 5).
…ter takes it

muster's core_mcpserver_set_approval now takes expectedGeneration and
refuses a write when the MCPServer changed since. The save sends the
generation of its read right before writing, so a change in between is
refused too and shown as the same conflict. The fixture declares and
enforces the precondition, and muster-backend answers it 422.
Settings with a rule and no tool entries opened on Recommended, so a
stored Block rule became Ask and Done loosened it. The draft now keeps
Block and fills the listed tools with Ask all.
…r_list

muster reports governance beside the servers on core_mcpserver_list,
which muster-backend's /servers passes on; /server-info never carries
it, so the mode was always unknown. The wizard and the create now read
it from the server list, then /server-info, and stay on Recommended
when neither names one. Tests and the fixture use that response shape.
Done on settings with a Block rule and no tool entries wrote every
listed tool as Ask, loosening what the rule hid. Those tools now keep
their effective setting, Block, unless the person changes them.
Input is one labelled block in the details, fingerprint labelled, Acts for shows the person's name with subject as tooltip.
Every key of the approval Input stays visible; each long string value, or very large nested array or object, collapses on its own. The details use one text style, no code font.
@Rotfuks

Rotfuks commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Review record — Quentin's review

Part of giantswarm/giantswarm#38902. Answers the review of 2026-11-27 (comments below). Branch tool-approval tip 790af584; 5 commits since the last record (5ffe495c): e3eee50e, 8acfc2de, 9a5ef4eb, d33145f6, 790af584.

ID Point Outcome
QB-04 The edit page hides the editor when no tool is visible, so after blocking every tool Ask/Allow cannot be restored fixed in e3eee50e: the editor shows once tools are read and the connector lists tools or has stored settings; a changed rule saves with zero rows; RTL tests for all-Blocked entries and a rule-only Block
QB-13 Inline decision is not MCP URL elicitation accepted: first-party extension, documented in muster (muster#1912); sentence added to this PR body

Approval card changes since the last record

Commit Change Re-check
8acfc2de agent, caller kind, acts for, session and client sit behind Show details; the asker warning stays on the card; Approve does not wait for the details OK, digest unchanged (muster's view.digest)
9a5ef4eb arguments as one Input block, canonical text pretty-printed, muster's marks kept OK on fidelity (200k random inputs reconstruct to the canonical text); finding N-1
d33145f6 Input is a labelled block in the details, the fingerprint is labelled, Acts for shows the person's name with the subject as tooltip not independently re-checked
790af584 N-1: every key stays visible; each long string value, or very large nested array or object, collapses on its own with its own Show all; Approve works without expanding; one text style, no code font not independently re-checked; tests: later keys visible, per-value collapse, nested structure

Independent re-check

Claude Fable, 2026-11-28, detached worktree at 9a5ef4eb, read-only, fixes reverted in turn.

ID Verdict Evidence
QB-04 fixed mutating the editor gate fails 3 tests, savesSomething fails 1

NewConnectorTestPage (44 tests) and InlineApproval plus UrlElicitationPanel (64) green at that tip.

Open items

ID Severity What is open
N-1 medium, fixed one long early-sorting value hid all later arguments, keys included, behind one Show all (InputBlock.tsx); fixed in 790af584, not independently re-checked

@Rotfuks

Rotfuks commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

@QuentinBisson thanks for the thorough review (your comment). Addressed: QB-04 fixed in e3eee50e, with tests for the empty and rule-only cases. QB-13 is now stated in the PR body: the inline decision is a first-party extension, not MCP URL elicitation.

Details and the independent re-check are in the review record.

…e Show details

The Input block moved into the details and Acts for shows the person's name with the subject as tooltip; the panel tests still looked for them on the card.
The split agent writes, set_agent_approval and list_approval_grants address
an organization's agents by its name like main's other agent tools, in the
client and in fixture mode. Dropping giantswarm-simple-oidc from the
federating connectors moves to gs-node's oidcIdentity, which the sign-in
resolver uses on this branch.
@Rotfuks
Rotfuks marked this pull request as ready for review November 30, 2026 08:36
@Rotfuks
Rotfuks requested a review from a team as a code owner November 30, 2026 08:36
@Rotfuks

Rotfuks commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Review record — merge round

Part of giantswarm/giantswarm#38902. Reviewer: Claude Fable 5.2, independent of the implementing and merging model, read-only, verdicts formed from the code. Full review: reviews/final/merge-round-2-review.md in the epic's workspace.

Covers 834570ca (tests) and 8757fc10 (hint wording). Result: 0 blocker, 0 high, 1 medium [sec] accepted by decision, 0 low, 1 info.

  • 834570ca is test-only (UrlElicitationPanel.test.tsx, +12 −7). It reads the Input block and Acts for (name, with subject at issuer as tooltip) after opening Show details. 68 tests of UrlElicitationPanel and InlineApproval pass at that commit.
  • The location of the Input is pinned by InlineApproval.test.tsx, not by this commit's assertions (R2-BS-02, info).
  • R2-BS-01, medium [sec], accepted by decision, wording fixed. The inline card shows a call's arguments only under Show details, and Approve does not wait for it, so an agent's reason is on the card while the arguments are one click away. Decision Update dependency @backstage/catalog-model to v1.4.2 - autoclosed #114 keeps this: the card gives the overview and the drill-down, the person is responsible for what they approve, the audit records it, and the decision covers the full request (digest).
  • 8757fc10 corrects the hint, which pointed at an input "above": it now reads "Check the tool, and its input under Show details." Two lines in InlineApproval.tsx, nothing else.

@marians

marians commented Nov 30, 2026

Copy link
Copy Markdown
Member

Fixture mode can't show the session side of this PR: none of the fixture sessions waits on a URL elicitation, so the new prompt (UrlElicitationPanel), the inline approval card and auto-continue can't be tested by hand without a lab. Could you add fixtures for them? For example, one session whose turn waits on muster's approval link (to check the inline card: arming after a second in view, collapsed long values, Approve and Decline) and one that waits on a connector sign-in link (Open, return, auto-continue). The fixture muster already answers getApproval, so this is mostly a seeded session that waits on a url_elicitation_request.

@Rotfuks

Rotfuks commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Review record — last check (UI)

Independent code and security review by Claude Fable 5.2 of 650d3fb7 (wizard sign-in gate), 6b35962c, 1b3c0a60 and 7a823825 (inline approval card, UrlElicitationPanel), read at 7a823825. Card and panel suites: 68 passed; wizard and sign-in suites: 81 passed.

Result: 0 blocker, 0 high, 3 medium (1 security), 3 low (1 security), 2 info. No way found to approve something other than what is shown.

Holds: every field the decision's digest covers is on the card or exempt for a true reason (message, why.setting included); "Acts for: You" is safe, since muster answers foreign for another person's request before any view is built; the asker warnings are unchanged and outside Show details.

Medium:

  • LCU-01: after a refused decision (expired, not_found, unavailable) the card stays up with no Done or Not now, and the composer is withheld; only a tab switch heals it. Re-read or treat it as "cannot be shown".
  • LCU-02 [sec]: person bearer reads "You, with your own sign-in". muster knows the credential, not who used it, and in the chat this kind means a runtime holding the person's token. Word it as the credential.
  • LCU-03: the wizard reads the person's status once; a failed or unavailable read, an unlisted server or a transient status hides the sign-in until a reload. Re-read while Auth Required, hide only on a positive "signed in".

Low and info (name brackets as the only boundary, unpinned mappings and fallbacks, three accessibility gaps, stale comments) are in the full review.

Resolution (d32d7ff8):

  • LCU-01: a refused decision reads the request again; when nothing can be decided here (expired, gone), the panel offers Done and Not now.
  • LCU-02: it now reads "Your own sign-in token, presented directly (no agent session)".
  • LCU-03: the sign-in is hidden only while muster reports the person as connected, and the status is re-read every 5 s while the connector asks for a sign-in.
  • LCU-05: tests now cover the caller wording, the Setting text, the "You" fallback, LCU-01 and LCU-03. The LCU-01 tests were checked to fail without the fix.
  • LCU-06: Show details now always points at an existing element, and "Agent says" labels its quote.
  • LCU-07, LCU-08: fixed.
  • Accepted: LCU-04 (the display name and the technical name in brackets share one style, as requested) and the Acts for ID shown only on hover (the viewer is that person).

@Rotfuks

Rotfuks commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

@marians thanks, good catch. Added in fb6216f1: fixture mode now seeds two more waiting sessions in every installation.

  • Approval link: the turn waits on muster's approval page (https://muster.<installation>.example.com/approvals/…), so the chat shows the inline card. You can check arming after a second in view, a collapsed long value (the fixture approval now has a multi-line commit_message) and Approve and Decline. Approving continues the turn.
  • Sign-in link: the turn waits on muster's connector sign-in start, so you get the prompt with Open, Done and Not now.

One limit: Open goes to the fixture muster's host, which does not exist, so the return from the sign-in page and auto-continue cannot run in fixture mode. Done answers the elicitation the way the return does. If you want the return covered too, I can add a fixture route that stands in for muster's page.

Also note that the fixture approval names a fixed agent (kagent/release-helper), so the card shows the "asked by another agent" warning.

backstage.musterWorkloadToken.enabled (off by default) mounts a projected
ServiceAccount token with audience muster, renewed by the kubelet, at
/var/run/secrets/muster.giantswarm.io/serviceaccount/token and sets
muster.workloadTokenFile on it. A portal deployed on its own, outside the
Agent Platform chart, can then decide tool approvals inline once muster
binds its ServiceAccount to muster-approval-decider.
@github-actions

Copy link
Copy Markdown
Contributor

JS Dependency Audit

0 added · 0 removed · 76 total (0 vs base)

Projects audited
  • . (manager: yarn-berry)
  • ./packages/app (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend-headless-service (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/analytics-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/auth-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/bot-prs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/catalog-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/error-reporter-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/flux (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/flux-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-node (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/kubernetes-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/muster (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/muster-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/plans (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/plans-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/platform-capabilities (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/platform-capabilities-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/repositories (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/repositories-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/review-queue (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/roadmap (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/roadmap-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/scaffolder-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/techdocs-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ui-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./scripts/eslint-plugin-giantswarm (manager: unknown) — skipped on PR head: no recognized lockfile

No change in vulnerabilities compared to the base branch.

Full current vulnerability list (76)
  • 🟠 high @graphql-tools/utils (<=12.0.0) — GraphQL Tools has prototype pollution in well-established utility function mergeDeep advisory
  • 🟠 high body-parser (<1.20.9) — body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body advisory
  • 🟠 high follow-redirects (>=1.16.0 <1.16.1) — follow-redirects array-form headers bypass cross-origin credential stripping advisory
  • 🟠 high follow-redirects (>=1.16.0 <1.16.1) — follow-redirects sensitiveHeaders regex escaping can expose credential headers advisory
  • 🟠 high follow-redirects (>=1.16.0 <=1.16.1) — follow-redirects: Cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects advisory
  • 🟠 high ip-address (<=10.3.0) — ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass advisory
  • 🟠 high systeminformation (<5.33.16) — systeminformation vulnerable to Windows command injection in services() through Unicode quotation marks advisory
  • 🟠 high zod (<4.6.6) — Zod can exhaust memory while validating oversized constrained collections advisory
  • 🟡 moderate @backstage/plugin-circleci (0.3.35) — This package has been moved to the to the https://github.com/CircleCI-Public/backstage-plugin repository. You should migrate to using that instead.
  • 🟡 moderate @fortawesome/react-fontawesome (0.2.6) — v0.2.x is no longer supported. Unless you are still using FontAwesome 5, please update to v3.1.1 or greater.
  • 🟡 moderate @hono/node-server (>=2.0.0 <2.1.6) — @hono/node-server: Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process advisory
  • 🟡 moderate @hono/node-server (>=2.0.0 <2.1.6) — @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy advisory
  • 🟡 moderate @humanwhocodes/config-array (0.13.0) — Use @eslint/config-array instead
  • 🟡 moderate @humanwhocodes/object-schema (2.0.3) — Use @eslint/object-schema instead
  • 🟡 moderate @material-ui/core (4.12.4) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @material-ui/lab (4.0.0-alpha.61) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @material-ui/pickers (3.3.11) — This package no longer supported. It has been relaced by @mui/x-date-pickers
  • 🟡 moderate @material-ui/styles (4.11.5) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @octokit/plugin-paginate-rest (>=1.0.0 <9.2.2) — @octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/plugin-paginate-rest (>=9.3.0-beta.1 <11.4.1) — @octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/request (>=1.0.0 <8.4.1) — @octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/request-error (>=1.0.0 <5.1.1) — @octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/webhooks-types (6.11.0) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate @opentelemetry/propagator-jaeger (2.12.0) — Package no longer supported. See feat(propagator-jaeger)!: remove @opentelemetry/propagator-jaeger package open-telemetry/opentelemetry-js#7077
  • 🟡 moderate @opentelemetry/sdk-trace-base (2.12.0) — Use @opentelemetry/sdk-trace package
  • 🟡 moderate @opentelemetry/sdk-trace-node (2.12.0) — Use @opentelemetry/sdk-trace package
  • 🟡 moderate @react-hookz/deep-equal (1.0.4) — PACKAGE IS DEPRECATED AND WILL BE DETED SOON, USE @ver0/deep-equal INSTEAD
  • 🟡 moderate @rjsf/material-ui (5.24.13) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate @sentry/browser (<7.119.1) — Sentry SDK Prototype Pollution gadget in JavaScript SDKs advisory
  • 🟡 moderate @smithy/core (3.36.0) — Deprecated due to a bug in custom logger data redaction. Upgrade to the latest version. If you used a custom logger with this
    version, review your logs and rotate any credentials or other secrets. See Custom loggers receive unredacted data when nested in lists & maps aws/aws-sdk-js-v3#8393.
  • 🟡 moderate @smithy/smithy-client (4.12.9) — Deprecated due to a bug in custom logger data redaction. Upgrade to the latest version. If you used a custom logger with
    this version, review your logs and rotate any credentials or other secrets. See Custom loggers receive unredacted data when nested in lists & maps aws/aws-sdk-js-v3#8393.
  • 🟡 moderate @types/http-proxy-middleware (1.0.0) — This is a stub types definition. http-proxy-middleware provides its own type definitions, so you do not need this installed.
  • 🟡 moderate @types/keyv (4.2.0) — This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
  • 🟡 moderate @ungap/structured-clone (1.3.0) — Potential CWE-502 - Update to 1.3.1 or higher
  • 🟡 moderate atlassian-openapi (1.0.19) — DEPRECATED: atlassian-openapi has moved to @atlassian/atlassian-openapi. The latest version is 1.0.6. Please update your dependency.
  • 🟡 moderate boolean (3.2.0) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate core-js (2.6.12) — core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
  • 🟡 moderate eslint (8.57.1) — This version is no longer supported. Please see https://eslint.org/version-support for other options.
  • 🟡 moderate fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding advisory
  • 🟡 moderate fast-uri (>=3.1.3 <3.1.9) — fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization advisory
  • 🟡 moderate file-type (>=13.0.0 <21.3.1) — file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header advisory
  • 🟡 moderate glob (>=9.0.0 <=14.0.1) — Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal advisory
  • 🟡 moderate glob (7.2.3) — Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  • 🟡 moderate hono (<4.13.16) — Hono: mount() and app.mount() can forward a path that bypasses middleware scoped inside the mount prefix advisory
  • 🟡 moderate hono (>=4.1.4 <=4.13.15) — Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator advisory
  • 🟡 moderate hono (<4.13.16) — Hono: csrf() does not check requests sent by hyperlink auditing (text/ping) advisory
  • 🟡 moderate hono (>=4.5.1 <=4.13.15) — Hono: validator('form') skips validation for multipart/form-data requests with extra parameters advisory
  • 🟡 moderate i18next (<26.3.4) — i18next deepExtend recurses into inherited built-ins, allowing corruption of shared built-in objects (DoS) advisory
  • 🟡 moderate inflight (1.0.6) — This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
  • 🟡 moderate ip-address (<=10.1.0) — ip-address has XSS in Address6 HTML-emitting methods advisory
  • 🟡 moderate ip-address (<=10.5.0) — ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts advisory
  • 🟡 moderate ip-address (<=10.7.0) — ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range advisory
  • 🟡 moderate ip-address (<=10.7.0) — ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process advisory
  • 🟡 moderate ip-address (<=10.7.3) — ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process advisory
  • 🟡 moderate lodash.get (4.4.2) — This package is deprecated. Use the optional chaining (?.) operator instead.
  • 🟡 moderate lodash.isequal (4.5.0) — This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
  • 🟡 moderate minimatch (>=7.0.0 <11.0.1) — minimatch has potential denial of service via globparts amplification advisory
  • 🟡 moderate node-abort-controller (3.1.1) — This package is no longer needed on supported Node.js versions. Node.js 16+ includes AbortController and AbortSignal as built-in globals. All Node.js versions requiring this polyfill are end-of-life. Use the built-in globals instead.
  • 🟡 moderate node-domexception (1.0.0) — Use your platform's native DOMException instead
  • 🟡 moderate postcss-selector-parser (<6.1.5) — PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion advisory
  • 🟡 moderate prebuild-install (7.1.3) — No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
  • 🟡 moderate prom-client (15.1.3) — prom-client has been replaced by @prometheus-io/client
  • 🟡 moderate react-beautiful-dnd (13.1.1) — react-beautiful-dnd is now deprecated. Context and options: react-beautiful-dnd is now deprecated atlassian/react-beautiful-dnd#2672
  • 🟡 moderate react-router (>=6.0.0 <7.18.0) — React Router: Open redirect via backslash in and useNavigate (CVE-2025-68470 bypass) advisory
  • 🟡 moderate react-router (>=6.4.0 <7.18.0) — React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration advisory
  • 🟡 moderate rimraf (3.0.2) — Rimraf versions prior to v4 are no longer supported
  • 🟡 moderate stable (0.1.8) — Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
  • 🟡 moderate uuid (<11.1.1) — uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided advisory
  • 🔵 low @smithy/config-resolver (<4.4.0) — AWS SDK for JavaScript v3 adopted defense in depth enhancement for region parameter value advisory
  • 🔵 low elliptic (<=6.6.1) — Elliptic Uses a Cryptographic Primitive with a Risky Implementation advisory
  • 🔵 low esbuild (>=0.27.3 <0.28.1) — esbuild allows arbitrary file read when running the development server on Windows advisory
  • 🔵 low fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to improper path equivalence in relative reference normalization advisory
  • 🔵 low fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references advisory
  • 🔵 low hono (>=3.12.0 <=4.13.15) — Hono: css helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection advisory
  • 🔵 low katex (>=0.11.0 <0.18.2) — KaTeX: Existing prototype pollution can bypass trust restrictions advisory
  • 🔵 low systeminformation (<5.33.14) — systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net advisory

…jection

backstage.musterWorkloadToken.expirationSeconds is at most a day, and the
render fails when backstage.extraVolumes or extraVolumeMounts already name
muster-workload-token, as a chart that deploys the portal and projects the
token itself does, instead of a pod the API server refuses.
@github-actions

Copy link
Copy Markdown
Contributor

JS Dependency Audit

0 added · 0 removed · 76 total (0 vs base)

Projects audited
  • . (manager: yarn-berry)
  • ./packages/app (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./packages/backend-headless-service (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/agent-platform-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ai-chat-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/analytics-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/auth-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/bot-prs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/catalog-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/error-reporter-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/flux (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/flux-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-common (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-node (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/gs-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/kubernetes-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/muster (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/muster-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/plans (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/plans-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/platform-capabilities (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/platform-capabilities-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/repositories (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/repositories-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/review-queue (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/roadmap (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/roadmap-backend (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/scaffolder-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/techdocs-backend-module-gs (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./plugins/ui-react (manager: unknown) — skipped on PR head: no recognized lockfile
  • ./scripts/eslint-plugin-giantswarm (manager: unknown) — skipped on PR head: no recognized lockfile

No change in vulnerabilities compared to the base branch.

Full current vulnerability list (76)
  • 🟠 high @graphql-tools/utils (<=12.0.0) — GraphQL Tools has prototype pollution in well-established utility function mergeDeep advisory
  • 🟠 high body-parser (<1.20.9) — body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body advisory
  • 🟠 high follow-redirects (>=1.16.0 <1.16.1) — follow-redirects array-form headers bypass cross-origin credential stripping advisory
  • 🟠 high follow-redirects (>=1.16.0 <1.16.1) — follow-redirects sensitiveHeaders regex escaping can expose credential headers advisory
  • 🟠 high follow-redirects (>=1.16.0 <=1.16.1) — follow-redirects: Cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects advisory
  • 🟠 high ip-address (<=10.3.0) — ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass advisory
  • 🟠 high systeminformation (<5.33.16) — systeminformation vulnerable to Windows command injection in services() through Unicode quotation marks advisory
  • 🟠 high zod (<4.6.6) — Zod can exhaust memory while validating oversized constrained collections advisory
  • 🟡 moderate @backstage/plugin-circleci (0.3.35) — This package has been moved to the to the https://github.com/CircleCI-Public/backstage-plugin repository. You should migrate to using that instead.
  • 🟡 moderate @fortawesome/react-fontawesome (0.2.6) — v0.2.x is no longer supported. Unless you are still using FontAwesome 5, please update to v3.1.1 or greater.
  • 🟡 moderate @hono/node-server (>=2.0.0 <2.1.6) — @hono/node-server: Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process advisory
  • 🟡 moderate @hono/node-server (>=2.0.0 <2.1.6) — @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy advisory
  • 🟡 moderate @humanwhocodes/config-array (0.13.0) — Use @eslint/config-array instead
  • 🟡 moderate @humanwhocodes/object-schema (2.0.3) — Use @eslint/object-schema instead
  • 🟡 moderate @material-ui/core (4.12.4) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @material-ui/lab (4.0.0-alpha.61) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @material-ui/pickers (3.3.11) — This package no longer supported. It has been relaced by @mui/x-date-pickers
  • 🟡 moderate @material-ui/styles (4.11.5) — Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
  • 🟡 moderate @octokit/plugin-paginate-rest (>=1.0.0 <9.2.2) — @octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/plugin-paginate-rest (>=9.3.0-beta.1 <11.4.1) — @octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/request (>=1.0.0 <8.4.1) — @octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/request-error (>=1.0.0 <5.1.1) — @octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking advisory
  • 🟡 moderate @octokit/webhooks-types (6.11.0) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate @opentelemetry/propagator-jaeger (2.12.0) — Package no longer supported. See feat(propagator-jaeger)!: remove @opentelemetry/propagator-jaeger package open-telemetry/opentelemetry-js#7077
  • 🟡 moderate @opentelemetry/sdk-trace-base (2.12.0) — Use @opentelemetry/sdk-trace package
  • 🟡 moderate @opentelemetry/sdk-trace-node (2.12.0) — Use @opentelemetry/sdk-trace package
  • 🟡 moderate @react-hookz/deep-equal (1.0.4) — PACKAGE IS DEPRECATED AND WILL BE DETED SOON, USE @ver0/deep-equal INSTEAD
  • 🟡 moderate @rjsf/material-ui (5.24.13) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate @sentry/browser (<7.119.1) — Sentry SDK Prototype Pollution gadget in JavaScript SDKs advisory
  • 🟡 moderate @smithy/core (3.36.0) — Deprecated due to a bug in custom logger data redaction. Upgrade to the latest version. If you used a custom logger with this
    version, review your logs and rotate any credentials or other secrets. See Custom loggers receive unredacted data when nested in lists & maps aws/aws-sdk-js-v3#8393.
  • 🟡 moderate @smithy/smithy-client (4.12.9) — Deprecated due to a bug in custom logger data redaction. Upgrade to the latest version. If you used a custom logger with
    this version, review your logs and rotate any credentials or other secrets. See Custom loggers receive unredacted data when nested in lists & maps aws/aws-sdk-js-v3#8393.
  • 🟡 moderate @types/http-proxy-middleware (1.0.0) — This is a stub types definition. http-proxy-middleware provides its own type definitions, so you do not need this installed.
  • 🟡 moderate @types/keyv (4.2.0) — This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
  • 🟡 moderate @ungap/structured-clone (1.3.0) — Potential CWE-502 - Update to 1.3.1 or higher
  • 🟡 moderate atlassian-openapi (1.0.19) — DEPRECATED: atlassian-openapi has moved to @atlassian/atlassian-openapi. The latest version is 1.0.6. Please update your dependency.
  • 🟡 moderate boolean (3.2.0) — Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • 🟡 moderate core-js (2.6.12) — core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
  • 🟡 moderate eslint (8.57.1) — This version is no longer supported. Please see https://eslint.org/version-support for other options.
  • 🟡 moderate fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding advisory
  • 🟡 moderate fast-uri (>=3.1.3 <3.1.9) — fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization advisory
  • 🟡 moderate file-type (>=13.0.0 <21.3.1) — file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header advisory
  • 🟡 moderate glob (>=9.0.0 <=14.0.1) — Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal advisory
  • 🟡 moderate glob (7.2.3) — Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  • 🟡 moderate hono (<4.13.16) — Hono: mount() and app.mount() can forward a path that bypasses middleware scoped inside the mount prefix advisory
  • 🟡 moderate hono (>=4.1.4 <=4.13.15) — Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator advisory
  • 🟡 moderate hono (<4.13.16) — Hono: csrf() does not check requests sent by hyperlink auditing (text/ping) advisory
  • 🟡 moderate hono (>=4.5.1 <=4.13.15) — Hono: validator('form') skips validation for multipart/form-data requests with extra parameters advisory
  • 🟡 moderate i18next (<26.3.4) — i18next deepExtend recurses into inherited built-ins, allowing corruption of shared built-in objects (DoS) advisory
  • 🟡 moderate inflight (1.0.6) — This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
  • 🟡 moderate ip-address (<=10.1.0) — ip-address has XSS in Address6 HTML-emitting methods advisory
  • 🟡 moderate ip-address (<=10.5.0) — ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts advisory
  • 🟡 moderate ip-address (<=10.7.0) — ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range advisory
  • 🟡 moderate ip-address (<=10.7.0) — ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process advisory
  • 🟡 moderate ip-address (<=10.7.3) — ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process advisory
  • 🟡 moderate lodash.get (4.4.2) — This package is deprecated. Use the optional chaining (?.) operator instead.
  • 🟡 moderate lodash.isequal (4.5.0) — This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
  • 🟡 moderate minimatch (>=7.0.0 <11.0.1) — minimatch has potential denial of service via globparts amplification advisory
  • 🟡 moderate node-abort-controller (3.1.1) — This package is no longer needed on supported Node.js versions. Node.js 16+ includes AbortController and AbortSignal as built-in globals. All Node.js versions requiring this polyfill are end-of-life. Use the built-in globals instead.
  • 🟡 moderate node-domexception (1.0.0) — Use your platform's native DOMException instead
  • 🟡 moderate postcss-selector-parser (<6.1.5) — PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion advisory
  • 🟡 moderate prebuild-install (7.1.3) — No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
  • 🟡 moderate prom-client (15.1.3) — prom-client has been replaced by @prometheus-io/client
  • 🟡 moderate react-beautiful-dnd (13.1.1) — react-beautiful-dnd is now deprecated. Context and options: react-beautiful-dnd is now deprecated atlassian/react-beautiful-dnd#2672
  • 🟡 moderate react-router (>=6.0.0 <7.18.0) — React Router: Open redirect via backslash in and useNavigate (CVE-2025-68470 bypass) advisory
  • 🟡 moderate react-router (>=6.4.0 <7.18.0) — React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration advisory
  • 🟡 moderate rimraf (3.0.2) — Rimraf versions prior to v4 are no longer supported
  • 🟡 moderate stable (0.1.8) — Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
  • 🟡 moderate uuid (<11.1.1) — uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided advisory
  • 🔵 low @smithy/config-resolver (<4.4.0) — AWS SDK for JavaScript v3 adopted defense in depth enhancement for region parameter value advisory
  • 🔵 low elliptic (<=6.6.1) — Elliptic Uses a Cryptographic Primitive with a Risky Implementation advisory
  • 🔵 low esbuild (>=0.27.3 <0.28.1) — esbuild allows arbitrary file read when running the development server on Windows advisory
  • 🔵 low fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to improper path equivalence in relative reference normalization advisory
  • 🔵 low fast-uri (>=3.0.0 <3.1.9) — fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references advisory
  • 🔵 low hono (>=3.12.0 <=4.13.15) — Hono: css helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection advisory
  • 🔵 low katex (>=0.11.0 <0.18.2) — KaTeX: Existing prototype pollution can bypass trust restrictions advisory
  • 🔵 low systeminformation (<5.33.14) — systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net advisory

@Rotfuks

Rotfuks commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Review record — portal workload token

Independent code and security review by Claude Fable 5.2 of baa8e873, then fix verification of 2a3b8c41. helm/backstage/tests/render-assertions.sh: every assertion holds.

Result after the fixes: 0 blocker, 0 high, 0 medium, 0 low, 1 info. First round: 2 low (1 security).

Holds: off by default and nothing renders; audience muster; a directory mount without subPath, so the kubelet's renewal reaches the file; the path equals the backend's default and the Agent Platform chart's; the backend re-reads it on every request, sends it to its home installation's muster only and never logs it. The token alone decides nothing: muster refuses a ServiceAccount without the muster-approval-decider binding.

  • PT-06 (closed): expirationSeconds is at most 86400; 86401 fails the render, 86400 renders.
  • PT-07 (closed): with the value on, an own volume or mount named muster-workload-token fails the render with a message naming the value; the same volume injected with the value off still renders.
  • Info: older charts refuse the key by schema, so the platform manager sets it only where the portal's chart line resolves to this release.

@Rotfuks
Rotfuks merged commit 21927b0 into main Nov 30, 2026
21 checks passed
@Rotfuks
Rotfuks deleted the tool-approval branch November 30, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants